package server.model;

import javax.vecmath.Quat4d;
import javax.vecmath.Vector3d;


/**
 * Abstraction d'un objet 3D
 */
public class Object3D {
	private String name;
	private Vector3d position;
	private Quat4d orientation;
	private String fileLoaded;
	
	// Constructors
	public Object3D(String name, Vector3d position, Quat4d orientation, String file){
		this.name = name;
		this.position = position;
		this.orientation = orientation;
		this.fileLoaded = file;
	}

	// Accessors
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Vector3d getPosition() {
		return position;
	}
	public void setPosition(Vector3d position) {
		this.position = position;
	}
	public Quat4d getOrientation() {
		return orientation;
	}
	public void setOrientation(Quat4d orientation) {
		this.orientation = orientation;
	}
	public String getFileLoaded() {
		return fileLoaded;
	}
	public void setFileLoaded(String fileLoaded) {
		this.fileLoaded = fileLoaded;
	}
}
